package cn.chengdu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 挂号信息表
 * </p>
 *
 * @author jobob
 * @since 2019-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Patientinformation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 挂号编号
     */
    @TableId(value = "patid", type = IdType.AUTO)
    private Integer patid;

    /**
     * 员工编号
     */
    private Integer staid;

    /**
     * 病人id
     */
    private Integer pid;

    /**
     * 挂号日期
     */
    private LocalDateTime patrdate;

    /**
     * 收费数据库名称
     */
    private String patdbsource;

    private String pname;
    private String staname;
    private String deptype;
}
